<extend name='Index:index'/>
<block name='admin_right'>
	<div class="right col-md-9">
			<table class="table table-bordered">
				<tr>
					<th>序号</th>
					<th>订单编号</th>
					<th>用户</th>
					<th>下单时间</th>
					<th>订单状态</th>
					<th>收货地址</th>
					<th>修改</th>
					<th>删除</th>
				</tr>
				<volist name='rows' id='row' key='i'>
				<tr>
					<td><{$i}></td>
					<td><a href="<{:U('shopList','','')}>/code/<{$row['code']}>"><{$row['code']}></a></td>
					<td><{$row['username']}></td>
					<td><{$row['time']|date='Y-m-d H:i:s',###}></td>
					<td><{$row['status']}></td>
					<td><{$row['add']}> <{$row['name']}> <{$row['tel']}></td>
					<td><a href="<{:U('edit','','')}>/code/<{$row['code']}>">修改</a></td>
					<td><a class="del" idx="<{$row['id']}>" href="javascript:">删除</a></td>
				</tr>
				</volist>
			</table>
			<p><{$show}></p>
	</div>
</block>